package com.cmsz.uregs.dao;

import java.util.List;

import com.cmsz.uregs.entity.Admin;

public interface AdminDao {
	public Admin addAdmin(Admin admin);
	
	public void updateAdmin(Admin admin);
	
	public void deleteAdmin(int id);
	
	public Admin findAdminByName(String username);

	public List<Admin> findAllAdmins();
	
	public Admin findAdmin(int id);

}
